package com.yingxin.yxerp.module.easypoi.word;

/**
 * @program: easypoi
 * @description:
 * @author: zhang yong
 * @create: 2020/01/20
 */
public class Test {
    public static void main(String[] args) throws Exception{
//        User user = new User();
//        user.setName("张勇");
//        user.setAge(27);
//
//        User user1 = new User();
//        user1.setName("鲁艳");
//        user1.setAge(26);
//
//        List<User> list =new ArrayList<>();
//
//        list.add(user);
//        list.add(user1);
//
//        Workbook workbook = ExcelExportUtil.exportExcel(new ExportParams(),User.class,list);
//
//        File file = new File("D://text.xlsx");
//        file.createNewFile();
//        FileOutputStream fileOutputStream = new FileOutputStream(file);
//        workbook.write(fileOutputStream);
//        fileOutputStream.flush();

        String str = "待财务审核_FINANCE_PENDING";
        String[] temp = str.split("_",1);
        for (String s:temp){
            System.out.println(s);
        }
    }
}
